package com.mano.mall.api.pay;

import com.alibaba.fastjson.JSONObject;
import com.mano.mall.api.dto.pay.input.PayCratePayTokenDto;
import com.mano.mall.common.base.BaseResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;

@Api(tags = "支付令牌")
public interface PayMentTransacService {

	/**
	 * 创建支付令牌
	 * 
	 * @return
	 */
	@GetMapping("/cratePayToken")
	@ApiOperation(value = "创建支付令牌")
	public BaseResponse<JSONObject> cratePayToken(@Validated PayCratePayTokenDto payCratePayTokenDto);
}
